import request from '@/utils/request'

// 查询视频收藏管理列表
export function listVideocollect(query) {
  return request({
    url: '/videocollect/videocollect/list',
    method: 'get',
    params: query
  })
}

// 查询视频收藏管理详细
export function getVideocollect(id) {
  return request({
    url: '/videocollect/videocollect/' + id,
    method: 'get'
  })
}

// 新增视频收藏管理
export function addVideocollect(data) {
  return request({
    url: '/videocollect/videocollect',
    method: 'post',
    data: data
  })
}

// 修改视频收藏管理
export function updateVideocollect(data) {
  return request({
    url: '/videocollect/videocollect',
    method: 'put',
    data: data
  })
}

// 删除视频收藏管理
export function delVideocollect(id) {
  return request({
    url: '/videocollect/videocollect/' + id,
    method: 'delete'
  })
}

export function listPatient(query) {
  return request({
    url: '/doctor/patient/list',
    method: 'get',
    params: query
  })
}

export function listVideo(query) {
  return request({
    url: '/video/video/list',
    method: 'get',
    params: query
  })
}
